package com.iwdnb.gkgz.application.service;

import java.util.Date;
import java.util.List;

import com.iwdnb.gkgz.common.model.dto.StockDayData;
import com.iwdnb.gkgz.application.vo.StockType;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author pengl
 * @date 2020/05/03
 **/
public interface HistoryDataService {

    List<StockDayData> getDayData(String code, int year);

    List<StockDayData> getDataByRange(String code, Date startDate, Date endData);

    void calcDataByRange(String code, Date startDate, Date endData);

    StockDayData getDayBeforeData(Date startDate);

    void loadStockDataList(StockType type);

    void loadStockDayData(String code, String year);

}
